package com.hslxy.niukewang.dao;

import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Repository;

@Repository
//多个相同的bean，把它设置为我想找的那个
@Primary
public class AlphaDao2Impl implements AlphaDao{
    @Override
    public String select() {
        return "dao2";
    }
}
